import java.io.IOException;

/**
 * The main class that runs our vehicular route planning algorithm.
 */
public class VehicularPlanning {

	/**
	 * Main method.
	 * @param args	The external arguments given at run time.
	 * @throws IOException 
	 */
	public static void main(String args[]) throws IOException {
		
		RoadMap Westwood = new RoadMap("Westwood");
		Westwood.setMetricWeights(1.0, 1.0); // Distance, Number of Vehicles
		
		WestwoodMap.createMap(Westwood);
		
		

		// Add Vehicles Randomly
		//Westwood.addVehicleRandomly("Jared's Truck");
		//Westwood.addVehicleRandomly("Prarthana's Car");
//		Westwood.addVehicleRandomly("Joon-sub's Car");
//		Westwood.addVehicleRandomly("Jay's Car");
//
//		Westwood.addVehicle(new Vehicle("Prarthana's Car", Westwood.getIntersection("Sepulveda Blvd/Santa Monica Blvd"), Westwood.getIntersection("Prosser Ave/Pico Blvd"), 40));
		
		int i=1000;
		Westwood.addVehicleRandomly(i);
		//... Do something
		//Dijkstra dijkstra = new Dijkstra(Westwood);
		
		//NextIntersectionAlgorithm test = new NextIntersectionAlgorithm(Westwood);
		DijkstraFinalUpdateTraffic test = new DijkstraFinalUpdateTraffic(Westwood); 

		//System.out.println(Westwood.toString()); // Prints out structure of the RoadMap
	}
}
